Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide


Tool (tool)

The tool actions affect a tool’s availability and apply to all instances of the tool specified by tool_id.

The following table lists and describes the tool actions:

Action
Description
tool.tool_id.disable 
Grays out the tool.
tool.tool_id.enable 
Enables the tool.
tool.tool_id.hide 
Makes the tool invisible.
tool.tool_id.show 
Displays a hidden tool.
tool.tool_id.toggle 
Alternates the tool between enable and disable.

Examples

In the following example, save functionality is disabled in customerfullo:

apph.action('tool.customerfullo.save.disable'); 

In the following example, save functionality is enabled in customerfullo:

apph.action('tool.customerfullo.save.enable'); 

In the following example, the info message area is disabled if previously enabled, or enabled if previously disabled:

apph.action('tool.main.info.toggle'); 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095